home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-05-01 | 1.4 KB | 93 lines | [04] ASCII Text (0x0000) |
- %
- 3
- 10
- 1
- 38
- PRINTING WORDS
-
- In addition to all the computing
- that programs do, they can also
- display messages on the screen.
- ^
- %
- 3
- 9
- 1
- 39
- For instance, suppose you have a
- burning desire to see the words
- HOT FUDGE SUNDAE on the screen.
- ^
- &
- All you have to do is type PRINT,
- then put the statement you want
- the Apple II to print in
- quotation marks ("). Like this...
- ^
- &
- Whatever you type inside the
- quotation marks is called a
- literal quote since the computer
- quotes exactly what you type.
- ^
- &
- Now it's your turn. Use the
- PRINT statement and quotation
- marks (") to print a literal
- quote on the screen.
- ^
- %
- 3
- 10
- 1
- 38
- No doubt you're already feeling
- like a computer pro.
- ^
- &
- That's because this training
- program tells you what you've done
- wrong if you don't type everything
- exactly by BASIC's rules.
- ^
- &
- When you are writing programs
- on your own, the computer will
- alert you to errors with messages,
- but the messages won't be quite as
- explicit.
- ^
- &
- For example, if you misspell
- PRINT, you'll hear a beep,
- and the computer will show you
- an error message.
- ^
- %
- 3
- 7
- 1
- 30
- Why don't you try it.
- Type: PRUNT 50
- ^
- %
- 3
- 11
- 1
- 38
- Good job! You successfully made a
- mistake when you misspelled the
- key word PRINT. But don't worry,
- programmers often make mistakes.
- Welcome to the club!
- ^
- &
- There's a summary of how to
- use the PRINT statement in
- the BASIC manual. Press
- RETURN to find out more about
- how BASIC works, or press
- ESC to return to the menu.
- ^
-